/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmPemeriksaan.java
 *
 * Created on Jan 24, 2012, 1:34:40 PM
 */
package SIMRS.RawatInap.view;

import usu.widget.Form;

/**
 *
 * @author asus A42J-i3
 */
public class frmPemeriksaan extends Form {

    /** Creates new form frmPemeriksaan */
    public frmPemeriksaan() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        txtNoRegistrasi = new SIMRS.RawatInap.widget.TextBox();
        label5 = new SIMRS.RawatInap.widget.Label();
        pnlForm1 = new SIMRS.RawatInap.widget.PnlForm();
        label8 = new SIMRS.RawatInap.widget.Label();
        label12 = new SIMRS.RawatInap.widget.Label();
        label13 = new SIMRS.RawatInap.widget.Label();
        txtNama = new SIMRS.RawatInap.widget.TextBox();
        txtJenisPasien = new SIMRS.RawatInap.widget.TextBox();
        txtKeluar = new SIMRS.RawatInap.widget.button2();
        btnBatal = new SIMRS.RawatInap.widget.button2();
        btnSimpan = new SIMRS.RawatInap.widget.button2();
        txtTanggalPelayanan = new com.toedter.calendar.JDateChooser();
        label7 = new SIMRS.RawatInap.widget.Label();
        txtNoRM = new SIMRS.RawatInap.widget.TextBox();
        label6 = new SIMRS.RawatInap.widget.Label();
        jPanel1 = new javax.swing.JPanel();
        label9 = new SIMRS.RawatInap.widget.Label();
        txtPemeriksaan = new SIMRS.RawatInap.widget.TextBox();
        label10 = new SIMRS.RawatInap.widget.Label();
        txtJumlah = new SIMRS.RawatInap.widget.TextBox();
        label11 = new SIMRS.RawatInap.widget.Label();
        txtDokter = new SIMRS.RawatInap.widget.TextBox();
        btnTambah = new SIMRS.RawatInap.widget.button2();
        btnHapus = new SIMRS.RawatInap.widget.button2();
        jScrollPane1 = new javax.swing.JScrollPane();
        tblPemeriksaan = new SIMRS.RawatInap.widget.Table();

        setTitle("[ :: Pemeriksaan Pasien  :: ]");
        setAnimationHide(usu.widget.constan.Animation.HIDE_TO_BOTTOM);
        setAnimationShow(usu.widget.constan.Animation.SHOW_FROM_BOTTOM);
        setResizable(false);
        setUndecorated(true);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                formWindowClosing(evt);
            }
        });
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        txtNoRegistrasi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtNoRegistrasiActionPerformed(evt);
            }
        });
        getContentPane().add(txtNoRegistrasi, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 130, 154, -1));

        label5.setText("No Registrasi");
        getContentPane().add(label5, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 130, -1, 30));

        pnlForm1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(112, 138, 31), 3, true));
        pnlForm1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        label8.setText("Nama");
        pnlForm1.add(label8, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 130, -1, 20));

        label12.setText("Tanggal Pelayanan");
        pnlForm1.add(label12, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 200, -1, 20));

        label13.setForeground(new java.awt.Color(255, 255, 255));
        label13.setText("Form Pemeriksaan");
        label13.setFont(new java.awt.Font("Tahoma", 1, 24));
        pnlForm1.add(label13, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 30, -1, -1));

        txtNama.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtNamaActionPerformed(evt);
            }
        });
        pnlForm1.add(txtNama, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 130, 200, -1));

        txtJenisPasien.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtJenisPasienActionPerformed(evt);
            }
        });
        pnlForm1.add(txtJenisPasien, new org.netbeans.lib.awtextra.AbsoluteConstraints(410, 160, 160, -1));

        txtKeluar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_close.png"))); // NOI18N
        txtKeluar.setText("Keluar");
        txtKeluar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtKeluarActionPerformed(evt);
            }
        });
        pnlForm1.add(txtKeluar, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 440, -1, -1));

        btnBatal.setText("Batal");
        pnlForm1.add(btnBatal, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 440, 80, 30));

        btnSimpan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_simpan.png"))); // NOI18N
        btnSimpan.setText("Simpan");
        pnlForm1.add(btnSimpan, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 440, -1, -1));
        pnlForm1.add(txtTanggalPelayanan, new org.netbeans.lib.awtextra.AbsoluteConstraints(410, 200, 150, -1));

        label7.setText("No. RM");
        pnlForm1.add(label7, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 160, -1, 20));

        txtNoRM.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtNoRMActionPerformed(evt);
            }
        });
        pnlForm1.add(txtNoRM, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 160, 154, -1));

        label6.setText("Jenis Pasien");
        pnlForm1.add(label6, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 160, -1, 20));

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("[ Input Pemeriksaan ]"));
        jPanel1.setOpaque(false);

        label9.setText("Pemeriksaan");

        txtPemeriksaan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtPemeriksaanActionPerformed(evt);
            }
        });

        label10.setText("Jumlah");

        txtJumlah.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtJumlahActionPerformed(evt);
            }
        });

        label11.setText("Dokter");

        txtDokter.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtDokterActionPerformed(evt);
            }
        });

        btnTambah.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_tambah.png"))); // NOI18N

        btnHapus.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_hapus.png"))); // NOI18N

        tblPemeriksaan.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(tblPemeriksaan);

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(label9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtPemeriksaan, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(16, 16, 16)
                        .addComponent(label10, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtJumlah, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(txtDokter, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(32, 32, 32)
                        .addComponent(label11, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(20, 20, 20)
                .addComponent(btnTambah, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(10, 10, 10)
                .addComponent(btnHapus, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 570, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(10, 10, 10)
                        .addComponent(label9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(6, 6, 6)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(txtPemeriksaan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtJumlah, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(10, 10, 10)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(label10, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(label11, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(30, 30, 30)
                        .addComponent(txtDokter, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(btnTambah, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(btnHapus, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pnlForm1.add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 250, 600, 180));

        getContentPane().add(pnlForm1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 620, 490));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-619)/2, (screenSize.height-489)/2, 619, 489);
    }// </editor-fold>//GEN-END:initComponents

private void txtNoRegistrasiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtNoRegistrasiActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtNoRegistrasiActionPerformed

private void txtNamaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtNamaActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtNamaActionPerformed

private void txtNoRMActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtNoRMActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtNoRMActionPerformed

private void txtJenisPasienActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtJenisPasienActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtJenisPasienActionPerformed

private void txtPemeriksaanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtPemeriksaanActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtPemeriksaanActionPerformed

private void txtDokterActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtDokterActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtDokterActionPerformed

private void txtJumlahActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtJumlahActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtJumlahActionPerformed

    private void txtKeluarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtKeluarActionPerformed
    this.dispose();
    frmTransaksiPelayanan transPelayanan=new frmTransaksiPelayanan();
    transPelayanan.setVisible(true);
    }//GEN-LAST:event_txtKeluarActionPerformed

    private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
        this.dispose();
    }//GEN-LAST:event_formWindowClosing

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.RawatInap.widget.button2 btnBatal;
    private SIMRS.RawatInap.widget.button2 btnHapus;
    private SIMRS.RawatInap.widget.button2 btnSimpan;
    private SIMRS.RawatInap.widget.button2 btnTambah;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private SIMRS.RawatInap.widget.Label label10;
    private SIMRS.RawatInap.widget.Label label11;
    private SIMRS.RawatInap.widget.Label label12;
    private SIMRS.RawatInap.widget.Label label13;
    private SIMRS.RawatInap.widget.Label label5;
    private SIMRS.RawatInap.widget.Label label6;
    private SIMRS.RawatInap.widget.Label label7;
    private SIMRS.RawatInap.widget.Label label8;
    private SIMRS.RawatInap.widget.Label label9;
    private SIMRS.RawatInap.widget.PnlForm pnlForm1;
    private SIMRS.RawatInap.widget.Table tblPemeriksaan;
    private SIMRS.RawatInap.widget.TextBox txtDokter;
    private SIMRS.RawatInap.widget.TextBox txtJenisPasien;
    private SIMRS.RawatInap.widget.TextBox txtJumlah;
    private SIMRS.RawatInap.widget.button2 txtKeluar;
    private SIMRS.RawatInap.widget.TextBox txtNama;
    private SIMRS.RawatInap.widget.TextBox txtNoRM;
    private SIMRS.RawatInap.widget.TextBox txtNoRegistrasi;
    private SIMRS.RawatInap.widget.TextBox txtPemeriksaan;
    private com.toedter.calendar.JDateChooser txtTanggalPelayanan;
    // End of variables declaration//GEN-END:variables
}
